package com.ky.homestay.constant;

/**
 * Homestay 全局常量
 */
@DependsOn(value = "springUtil")
public interface HomestayConstant {

	/**
	 * 项目名
	 */
	String PROJECT_NAME = SpringUtil.getProperty("spring.application.name");
	/**
	 * 服务器总台数
	 */
	Integer SERVER_COUNT = Integer.parseInt(SpringUtil.getProperty("framework.serverCount"));

	/**
	 * 变量集合
	 */
	public static class ConstantVariable{
		/**
		 * 服务器启动id
		 */
		public static Integer SERVER_WORKERID = 0;
	}
	
    /**
     * 顶层标识
     */
    String ROOT = "-1";


}
